class Domain < ActiveRecord::Base
  has_many :users
  has_one :invalid_domain

  def queue_name_part
    name.in?(SPECIAL_DOMAINS) ? name : 'etc'
  end
end
